package com.ran.java_gobang_new.pojo.dao;

import com.ran.java_gobang_new.JavaGobangNewApplication;
import com.ran.java_gobang_new.service.GameService;
import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ran
 * Date: 2025-09-03
 * Time: 23:51
 */
// 游戏房间
@Data
public class Room {
    private String UUID ; // 房间号
    private UserInfo user1; // 进入房间的玩家1
    private UserInfo user2; // 进入房间的玩家2
    private Integer white; // 白棋的玩家 id
    public GameService gameService;
    public Room() {
        UUID = java.util.UUID.randomUUID().toString();
        gameService = new GameService();
    }
}
